import 'package:flutter/material.dart';
import 'package:sonora/components/background.dart';

class HomeScreen extends StatelessWidget {
  const HomeScreen({Key? key}) : super (key: key);

  @override
  Widget build(BuildContext context) {
    return Background(
        child: Container(
          child: Align(
              widthFactor: 2,
              heightFactor: 2,
              alignment: Alignment.topCenter,
              child: Column(
                children: [
                  SizedBox(
                    height: 170,
                  ),
                  Image(
                    width: 100,
                    height: 100,
                    image: AssetImage('assets/images/logo.png'),
                  ),
                  SizedBox(
                    height: 10,
                  ),
                  Text('Sonora',
                      style: TextStyle(color: Colors.white,fontSize: 24,decoration: TextDecoration.none,fontFamily: 'Galada',)),
                  Spacer(),
                ],
              )
          ),
        ),
        bgImage: 'assets/images/home_bg.png'
    );
  }
}